.menuItem() {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 36px;
  line-height: 36px;
  padding: 0px 16px;
  margin: 0 !important;
  &:hover {
    i {
      color: #fff;
    }
  }
  i {
    font-size: 17px;
    color: #9e9e9e;
  }
  &.delete {
    color: #f44336;
    i {
      color: #f44336;
    }
    &:hover {
      i {
        color: #fff;
      }
    }
  }
  &.otherApp {
    color: #333;
    &:hover {
      color: #fff;
    }
  }
  &.ant-menu-item-active,
  &.ant-menu-item-selected {
    background-color: #2196f3;
    color: #fff;
    i {
      color: #fff;
    }
    &.delete {
      background-color: #f44336;
    }
  }
  span {
    margin-left: 12px;
  }
}

.customPageOperateMenu {
  box-sizing: border-box;
  width: 220px;
  padding: 5px 0;
  border: none;
  background-color: #fff;
  cursor: pointer;
  color: #333;
  box-shadow: 0 4px 16px 1px rgba(0, 0, 0, 0.24), 0 0px 1px 0px rgba(0, 0, 0, 0.12) !important;
  .ant-menu-item {
    .menuItem();
  }
  .ant-menu-item-divider {
    margin: 6px 0;
  }
  .ant-menu-submenu {
    .ant-menu-submenu-title {
      display: flex;
      align-items: center;
      height: 36px;
      box-sizing: border-box;
      padding: 10px 16px;
      i {
        font-size: 18px;
        color: #9e9e9e;
      }
      &:hover {
        i {
          color: #fff;
        }
      }
      span {
        margin-left: 12px;
      }
    }
    &.ant-menu-submenu-active,
    &.ant-menu-submenu-selected {
      .ant-menu-submenu-title {
        background-color: #2196f3;
        color: #fff;
        i {
          color: #fff;
        }
      }
    }
  }
}

.customPageSubMenu {
  z-index: 10001;
  box-shadow: 0 4px 16px 1px rgba(0, 0, 0, 0.24), 0 0px 1px 0px rgba(0, 0, 0, 0.12) !important;
  .ant-menu-sub {
    margin-left: -4px;
    padding: 6px 0;
    border: none;
  }
  .ant-menu-item {
    .menuItem();
  }
}
